package org.example.tulurouter.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class User {
    @TableId(type = IdType.AUTO)
    private Long userId;
    private String username;
    private String password;
    private String phoneNumber;
    private String email;
    private Boolean gender;
    private Boolean status;
    private String rights;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

}
